home *** CD-ROM | disk | FTP | other *** search
/ Internet Surfer 2.0 / Internet Surfer 2.0 (Wayzata Technology) (1996).iso / pc / text / mac / faqs.060 < prev    next >
Text File  |  1996-02-12  |  29KB  |  589 lines

  1. Frequently Asked Questions (FAQS);faqs.060
  2.  
  3.  
  4.  
  5. John Beasley has posted information on his OR-Lib, which contains various
  6. optimization test problems.  Send e-mail to umtsk99@vaxa.cc.imperial.ac.uk
  7. to get started.  Or have a look in the Journal of the Operational Research
  8. Society, Volume 41, Number 11, Pages 1069-72.
  9.  
  10. There are various test sets for NLP (Non-Linear Programming).  Among
  11. those I've seen mentioned are
  12.   - ACM TOMS (Transactions on Mathematical Software), V13 No3 P272
  13.   - publications (listed in another section of this list) by Schittkowski;
  14.     Hock & Schittkowski;  Floudas & Pardalos; Torn; Hughes & Grawiog.
  15. Many of the other references also contain various problems that you
  16. could use to test a code.
  17.  
  18. The modeling language GAMS comes with about 100 test models, which
  19. you might be able to test your code with.
  20.  
  21. --------------------------------------------------------------------------
  22.  
  23. 5.  "What is MPS format?"
  24.  
  25. A:  MPS format was named after an early IBM LP product and has emerged
  26. as a de facto standard ASCII medium among most of the various commercial
  27. LP codes.  You will need to write your own reader routine for this, but
  28. it's not too hard. The main things to know about MPS format are that it
  29. is column oriented (as opposed to entering the model as equations), and
  30. everything (variables, rows, etc.) gets a name.  MPS format is described
  31. in more detail in Murtagh's book, referenced in another section.  Here
  32. is a little sample model, explained in more detail below:
  33.  
  34. NAME          METALS
  35. ROWS
  36.   N VALUE
  37.   E YIELD
  38.   L FE
  39.   L MN
  40.   L CU
  41.   L MG
  42.   G AL
  43.   L SI
  44. COLUMNS
  45.     BIN1      VALUE       0.03         YIELD           1.
  46.     BIN1      FE          0.15         CU             .03
  47.     BIN1      MN          0.02         MG             .02
  48.     BIN1      AL          0.7          SI             .02
  49.     BIN2      VALUE       0.08         YIELD           1.
  50.     BIN2      FE           .04         CU             .05
  51.     BIN2      MN           .04         MG             .03
  52.     BIN2      AL           .75         SI             .06
  53.     BIN3      VALUE       0.17         YIELD         1.
  54.     BIN3      FE           .02         CU             .08
  55.     BIN3      MN           .01         AL             .8
  56.     BIN3      SI           .08
  57.     BIN4      VALUE       0.12         YIELD         1.
  58.     BIN4      FE           .04         CU             .02
  59.     BIN4      MN           .02         AL             .75
  60.     BIN4      SI          0.12
  61.     BIN5      VALUE       0.15         YIELD         1.
  62.     BIN5      FE           .02         CU             .06
  63.     BIN5      MN           .02         MG             .01
  64.     BIN5      SI           .02         AL             .8
  65.     ALUM      VALUE       0.21         YIELD         1.
  66.     ALUM      FE           .01         CU             .01
  67.     ALUM      AL           .97         SI             .01
  68.     SILCON    VALUE       0.38         YIELD         1.
  69.     SILCON    FE           .03         SI             .97
  70. RHS
  71.     ALOY1     YIELD        2000.       FE              60.
  72.     ALOY1     CU            100.       MN              40.
  73.     ALOY1     MG             30.       AL            1500.
  74.     ALOY1     SI            300.
  75. BOUNDS
  76.  UP PROD1     BIN1            200.00
  77.  UP PROD1     BIN2            750.00
  78.  LO PROD1     BIN3            400.00
  79.  UP PROD1     BIN3            800.00
  80.  LO PROD1     BIN4            100.00
  81.  UP PROD1     BIN4            700.00
  82.  UP PROD1     BIN5           1500.00
  83. ENDATA
  84.  
  85.  
  86. MPS is an old format, so it is set up as though you were using
  87. punch cards, and is not free format. Fields start in column 1,
  88. 5, 15, 25, 40 and 50.  Sections of an MPS file are marked by
  89. so-called header cards, which are distinguished by their starting
  90. in column 1.  Although it is typical to use upper-case throughout
  91. the file (like I said, MPS has long historical roots), many
  92. MPS-readers will accept mixed-case for anything except the
  93. header cards, and some allow mixed-case anywhere.
  94.  
  95. The NAME card can be anything you want.  The ROWS section defines
  96. the names of all the constraints; entries in column 2 or 3 are E
  97. for equality rows, L for less-than ( <= ) rows, G for greater-than
  98. ( >= ) rows, and N for non- constraining rows (the first of which
  99. would be interpreted as the objective function).
  100.  
  101. The largest part of the file is in the COLUMNS section, which is
  102. the place where the entries of the A-matrix are put.  All entries
  103. for a given column must be placed consecutively, although within
  104. a column the order of the entries (rows) is irrelevant. Rows not
  105. mentioned for a column are assumed to have a coefficient of zero.
  106.  
  107. The RHS section allows one or more right-hand-side vectors to be
  108. defined; most people don't bother having more than one.  In the
  109. above example, its name is ALOY1, and has non-zero values in all
  110. 7 of the constraint rows of the problem.  Rows not mentioned are
  111. assumed to have a right-hand-side of zero.
  112.  
  113. The optional BOUNDS section lets you put lower and upper bounds on
  114. individual variables (no * wildcards, unfortunately), instead of
  115. having to define extra rows in the matrix.  All the bounds that have
  116. a given name in column 5 are taken together as a set.  Variables
  117. not mentioned in a BOUNDS set are taken to be non-negative.  There
  118. is another optional section called RANGES that I won't go into
  119. here. The final card must be the ENDATA, and yes, it is spelled
  120. funny.
  121.  
  122. For comparison, here is the same model written out in equation
  123. format.
  124.  
  125. Minimize
  126.  VALUE: 0.03 BIN1 + 0.08 BIN2 + 0.17 BIN3 + 0.12 BIN4 + 0.15 BIN5
  127.  + 0.21 ALUM + 0.38 SILCON
  128. Subject To
  129.  YIELD: BIN1 + BIN2 + BIN3 + BIN4 + BIN5 + ALUM + SILCON  = 2000
  130.  FE:    0.15 BIN1 + 0.04 BIN2 + 0.02 BIN3 + 0.04 BIN4 + 0.02 BIN5
  131.         + 0.01 ALUM + 0.03 SILCON <= 60
  132.  MN:    0.02 BIN1 + 0.04 BIN2 + 0.01 BIN3 + 0.02 BIN4 + 0.02 BIN5
  133.         <= 40
  134.  CU:    0.03 BIN1 + 0.05 BIN2 + 0.08 BIN3 + 0.02 BIN4 + 0.06 BIN5
  135.         + 0.01 ALUM <= 100
  136.  MG:    0.02 BIN1 + 0.03 BIN2 + 0.01 BIN5 <= 30
  137.  AL:    0.7 BIN1 + 0.75 BIN2 + 0.8 BIN3 + 0.75 BIN4 + 0.8 BIN5
  138.         + 0.97 ALUM >= 1500
  139.  SI:    0.02 BIN1 + 0.06 BIN2 + 0.08 BIN3 + 0.12 BIN4 + 0.02 BIN5
  140.         + 0.01 ALUM + 0.97 SILCON <= 300
  141. and
  142.         0 <= BIN1 <= 200
  143.         0 <= BIN2 <= 750
  144.         400 <= BIN3 <= 800
  145.         100 <= BIN4 <= 700
  146.         0 <= BIN5 <= 1500
  147.  
  148. --------------------------------------------------------------------------
  149.  
  150. 6.  "What software is there for non-linear optimization?"
  151.  
  152. A:  I don't claim as much expertise in this area, but the question is
  153. frequent enough to be worth addressing.  If I get enough feedback, this
  154. section might grow large enough to need to be split off as a separate
  155. FAQ list.
  156.  
  157. It's unrealistic to expect to find one general NLP code that's going to
  158. work for every kind of nonlinear model.  Instead, you should try to find
  159. a code that fits the problem you are solving.  Nonlinear solution techniques
  160. can be divided into various categories, such as unconstrained, linearly
  161. constrained, convexly constrained, or general.  If your problem doesn't
  162. fit in any category except "general", or you insist on a proven optimal
  163. solution (except when there no chance of multiple local minima), you should
  164. be prepared to have to use a method that boils down to exhaustive search,
  165. i.e., you have an intractable problem.  See the comments in the MIP section
  166. on Simulated Annealing and Genetic Algorithms.
  167.  
  168. Several of the commercial LP codes referenced above have specialized
  169. routines, particularly for Quadratic Programming (QP, linear constraints
  170. with a quadratic objective function).  Many nonlinear problems can be
  171. solved (or at least confronted) by application of a sequence of LP or
  172. QP approximations.
  173.  
  174. There is an ACM TOMS routine for QP, #587, available from the netlib server,
  175. in directory /netlib/toms.  See the section on test models for detail on
  176. how to use this server.
  177.  
  178. There is a directory, /netlib/opt, on the netlib server containing a
  179. collection of optimization routines.  At my last check, I saw
  180. - "praxis" (unconstrained optimization, without requiring derivatives)
  181. - "tn" (Newton method for unconstrained or simple-bound optimization)
  182. - "ve08" (optimization of unconstrained separable function).
  183. - "simann" (unconstrained optimization using Simulated Annealing)
  184. - "vfsr" (constrained optimization using Simulated Annealing)
  185. Again, see the section on test models for detail on how to use this server.
  186.  
  187. Here is a summary of codes mentioned in newsgroups in the past year, not
  188. sorted into categories.
  189.  
  190. - MINOS - Stanford University, Office of Technology Licensing, 415-723-0651.
  191.   This code is often used by researchers as a "benchmark" for others to
  192.   compare with.
  193. - NPSOL - Stanford University, Office of Technology Licensing, 415-723-0651.
  194. - QPSOL - Stanford University, Office of Technology Licensing, 415-723-0651.
  195. - NAG Library routine E04UCF.
  196. - IMSL routine UMINF and UMIDH.
  197. - Harwell Library routine VF04.
  198. - Hooke and Jeeves algorithm - reference?
  199. - MINPAK I and II - Contact Steve Wright, wright@mcs.anl.gov
  200. - GENOCOP - Genetic algorithm, Zbigniew Michalewicz, zbyszek@mosaic.uncc.edu
  201.   said to be available by ftp at unccsun.uncc.edu (152.15.10.88).
  202. - DFPMIN - Numerical Recipes  (Davidon-Fletcher-Powell)
  203. - Amoeba - Numerical Recipes
  204. - Brent's Method - Numerical Recipes
  205. - FSQP -  Contact Andre Tits, andre@src.umd.edu.  Said to be free of charge
  206.   to academic users.
  207. - CONMIN - Vanderplaats and Associates, Goleta CA
  208. - NOVA - DOT Products, Houston TX
  209. - GRG2 - Leon Lasdon, University of Texas, Austin TX
  210. - GINO - LINDO Systems, Chicago, IL
  211.  
  212. --------------------------------------------------------------------------
  213.  
  214. 7.  "What references are there in this field?"
  215.  
  216. A:  Too many to count.  Here are a few that I like or have been
  217. recommended on the net.  I have *not* reviewed them all.
  218.  
  219. General reference  [1]
  220. - Nemhauser, Rinnooy Kan, & Todd, eds, Optimization, North-Holland, 1989.
  221.   (Very broad-reaching, with large bibliography.  Good reference; it's
  222.   the place I tend to look first.  Tough sledding for beginners.)
  223.  
  224. LP
  225. - Chvatal, Linear Programming, Freeman, 1983.  (I find it hard to whole-
  226.   heartedly recommend any one LP textbook, but this is one I'd probably use
  227.   in teaching an undergraduate course.)
  228. - Hughes & Grawiog, Linear Programming: An Emphasis on Decision Making,
  229.   Addison-Wesley, 1973.
  230. - Luenberger, Introduction to Linear and Nonlinear Programming, Addison
  231.   Wesley, 1984.  (Updated version of an old standby.)
  232. - Murtagh, B., Advanced Linear Programming, McGraw-Hill, 1981.  (Good one
  233.   after you've read an introductory text.)
  234. - Schrijver, Theory of Linear and Integer Programming, Wiley.
  235. - Williams, H.P., Model Building in Mathematical Programming, Wiley 1985.
  236.   (Little on algorithms, but excellent for learning what makes a good model.)
  237.  
  238. Interior Point LP
  239. - Marsten, et al., "Interior point methods for linear programming",
  240.   Interfaces, pp 105-116, July-August 1990.  (Introductory article, written
  241.   by authors of a good commercial code.)
  242. - Marsten, et al., article to appear in ORSA Journal on Computing, 1993.
  243.   (The latest results; a tech report version may be available sooner.)
  244. - Wright, M., "Interior methods for constrained optimization", Acta Mathematica,
  245.   Cambridge University Press, 1992.  (Survey article.)
  246. There is also a bibliography (with over 1000 entries!?!) obtainable by
  247. mailing to "netlib@ornl.gov" and saying "send intbib.bib from bib".
  248.  
  249. Nonlinear Programming  (can someone help classify these more usefully?)
  250. - Bazaraa & Shetty, Nonlinear Programming, Theory & Applications.
  251. - Coleman & Li, Large Scale Numerical Optimization, SIAM Books.
  252. - Dennis & Schnabel, Numerical Methods for Unconstrained Optimization
  253.   and Nonlinear Equations, Prentice Hall, 1983.
  254. - Fiacco & McCormick, Sequential Unconstrained Minimization Techniques,
  255.   SIAM Books.  (An old standby, given new life by the interior point
  256.   LP methods.)
  257. - Fletcher, R., Practical Methods of Optimization, Wiley 1987.  (Good
  258.   reference for Quadratic Programming, among other things.)
  259. - Floudas & Pardalos, A collection of test problems for constrained
  260.   optimization algorithms, Springer-Verlag, 1990.
  261. - Gill, Murray & Wright, Practical Optimization, Academic Press, 1981.
  262.   (An instant NLP classic when it was published.)
  263. - Hock & Schittkowski, Test Examples for Nonlinear Programming Codes,
  264.   Springer-Verlag, 1981.
  265. - Kahaner, Moler & Nash, Numerical Methods and Software, Prentice-Hall.
  266. - More, "Numerical Solution of Bound Constrained Problems", in Computational
  267.   Techniques & Applications, CTAC-87, Noye & Fletcher, eds, North-Holland,
  268.   29-37,  1988.
  269. - More & Toraldo, Algorithms for Bound Constrained Quadratic Programming
  270.   Problems, Numerische Mathematik 55, 377-400, 1989.
  271. - Schittkowski, Nonlinear Programming Codes, Springer-Verlag, 1980.
  272. - Torn & Zilinskas, Global Optimization, Springer-Verlag, 1989.
  273.  
  274. Other publications
  275. - Forsythe, Malcolm & Moler, Computer Methods for Mathematical Computations,
  276.   Prentice-Hall.
  277. -Hansen, Global Optimization Using Interval Analysis, Marcel Dekker, 1991(?).
  278.   (I'd be interested if anyone has any opinions on this one.)
  279. - Kennington & Helgason, Algorithms for Network Programming, Wiley, 1980.
  280.   (A special case of LP.)
  281. - Kirkpatrick, Gelatt & Vecchi, Optimization by Simulated Annealing,
  282.   Science, 220 (4598) 671-680, 1983.
  283. - Press, Flannery, Teukolsky & Vetterling , Numerical Recipes, Cambridge,
  284.   1986.    (Comment: use with care.)
  285.  
  286.  
  287. --------------------------------------------------------------------------
  288.  
  289. 8.  "Just a quick question..."
  290.  
  291. Q:  What is a matrix generator?
  292. A:  This is a code that creates input for an LP (or MIP, or NLP) code,
  293.     using a more natural input than MPS format.  There are no free ones.
  294.     Big names in this area are GAMS (Scientific Press), LINGO (LINDO
  295.     Systems), and AMPL (information is in netlib/opt on the Netlib server).
  296.     These products have links to various solvers (commercial and otherwise).
  297. Q:  How do I diagnose an infeasible LP model?
  298. A:  A model is infeasible if the constraints are inconsistent, i.e., if
  299.     no feasible solution can be constructed.  It's often difficult to track
  300.     this down.  The cure may even be ambiguous: is it that some demand
  301.     was set too high, or a supply set too low?  A useful technique is Goal
  302.     Programming, one variant of which is to include two explicit slack
  303.     variables (positive and negative) with huge cost coefficients, in each
  304.     constraint.  The revised model is guaranteed to have a solution, and you
  305.     can look at which rows have slacks that are included in the "optimal"
  306.     solution.  By the way, I recommend a Goal Programming philosophy even if
  307.     you aren't having trouble with feasibility; "come on, you could probably
  308.     violate this constraint for a price."
  309. Q:  I want to know specifically which constraints contradict each other.
  310. A:  This may not be a well posed problem.  If by this you mean you want to
  311.     find the minimal set of constraints that should be removed to restore
  312.     feasibility, this can be modeled as an Integer LP (which means, it's
  313.     potentially a hard problem). Start with a Goal Programming approach as
  314.     outlined above, and introduce some 0-1 variables to turn the slacks off
  315.     or on.  Then minimize on the sum of these 0-1 variables.
  316. Q:  I just want to know whether or not there *exists* a feasible solution.
  317. A:  Finding out if a model has a feasible solution is essentially as hard
  318.     as finding the optimal solution (within a factor of 2 on average, in
  319.     terms of effort in the Simplex Method).  There are no shortcuts in
  320.     general, unless you know something useful about your model's structure.
  321. Q:  I have an LP, except it's got several objective functions.  Help!
  322. A:  This is indeed a difficult class of model.  Fundamental to it is that
  323.     there may be no unique solution.  Approaches that have worked are
  324.     Goal Programming (treat the objectives as constraints with costed
  325.     slacks), Pareto preference analysis, and forming a composite objective
  326.     from the real ones.  There is a section on this whole topic in Reference
  327.     [1].  My general advice is to attempt to cast your model in terms of
  328.     dollars and cents wherever possible; sometimes the multiple objectives
  329.     disappear!  8v)
  330. Q:  I have an LP that has large almost-independent matrix blocks that are
  331.     linked by a few constraints.  Can I take advantage of this?
  332. A:  In theory, yes.  See section 6.2 in Reference [1] for a discussion of
  333.     Dantzig-Wolfe decomposition.  However, I am unaware of any commercial
  334.     codes that will help you do this, so you'll have to create your own
  335.     framework and then call your chosen LP solver to solve the subproblems.
  336.     The folklore is that generally such schemes take such a long time to
  337.     converge that they're slower than just solving the model as a whole.
  338.     My advice, unless your model is so huge that a good solver can't handle
  339.     it, is to not bother decomposing it.  (It's probably more cost effective
  340.     to upgrade your solver, if that's why you can't solve it, than to invest
  341.     your time.)
  342. Q:  I need to find all integer points in a polytope.
  343. A:  There is no known way of doing this efficiently.  A related question
  344.     is how to find all the vertices of an LP, with the same pessimistic
  345.     answer.  The book by Schrijver is said to discuss this.
  346. Q:  Are there any parallel LP codes?
  347. A:  IBM has announced a parallel Branch and Bound capability in their
  348.     package OSL, for use on clusters of workstations.  "This is real, live
  349.     commercial software, not a freebie. Contact forrest@watson.ibm.com".
  350.     Jeffrey Horn (horn@cs.wisc.edu) recently compiled a bibliography of
  351.     papers relating to research on parallel B&B.
  352.     I'm not aware of any implementations (beyond the "toy" level) of
  353.     simplex or interior-point solvers on parallel machines.
  354. Q:  From a roll of cloth of given width and unlimited length, cut out ...
  355. A:  You are referring to the Cutting Stock (or Trim Loss) problem.  It is
  356.     in most LP textbooks, or Reference [1].  I think it's an interesting
  357.     problem, because the model formulation hinges on how you generate the
  358.     variables of the eventual LP; you can't really just write down the
  359.     equations.  This trick of so-called Column Generation is used in diverse
  360.     other problems such as airline crew scheduling.  A related idea,
  361.     Constraint Generation, is used to solve the Traveling Salesman Problem.
  362. Q:  I am trying to solve a Traveling Salesman Problem ...
  363. A:  I knew you'd ask that.  Look at the bibliography in the Integer
  364.     Programming section of Reference [1], particularly the ones with the
  365.     names Groetschel and/or Padberg in them.  TSP is a famously hard problem
  366.     that has attracted many of the best minds in the field.  I don't believe
  367.     there are any commercial products to solve this problem.
  368. Q:  I heard about this new Russian algorithm for Traveling Salesman Problems.
  369. A:  You are speaking of Khachian's method for LP, published in 1979.  It was
  370.     the first LP algorithm to have a polynomial bound on the amount of work.
  371.     Though important theoretically, it has had no impact in practice, because
  372.     the polynomial bounds are huge.  It works by surrounding the solution
  373.     space with a sequence of shrinking ellipsoids.  There continues to be
  374.     research done on this method, for NLP.   The connection to TSP is false,
  375.     brought about by an erroneous New York Times article back then.
  376. Q:  I need to do post-optimal analysis.
  377. A:  Many commercial LP codes have features to do this.  Also called Ranging
  378.     or Sensitivity Analysis, it gives you information about how much the
  379.     coefficients in the problem could change without affecting the nature
  380.     of the solution.  Most LP textbooks, such as Reference [1], describe this.
  381.  
  382. --------------------------------------------------------------------------
  383.  
  384. 9.  "Who maintains this FAQ list?"
  385.  
  386. A:  John W. Gregory
  387.     LP Specialist  (it says that on my business card, it must be true!)
  388.     Applications Department
  389.     Cray Research, Inc.
  390.     Eagan, MN 55121   USA
  391.     jwg@cray.com
  392.     612-683-3673
  393.  
  394. I suppose I should say something here to the effect that "the material
  395. in this document does not reflect any official position taken by Cray
  396. Research, Inc."  Also, "use at your own risk", "no endorsement of products
  397. mentioned", etc., etc.  I probably should have scattered more "IMHO"s
  398. around in the text, but that acronym seems weaselly and once you start it's
  399. hard to know where to stop.  I should have put in a few more smilies here
  400. and there too, to assist the humor impaired - be on your toes.  8v)
  401.  
  402. I've tried to keep my own biases (primarily, toward the high end of
  403. computing) from dominating what I write here, and other viewpoints that
  404. I've missed are welcome.  Suggestions, corrections, topics you'd like to
  405. see covered, and additional material (particularly on NLP) are solicited.
  406. Comments to the effect "who died and made *you* optimal?" will likely
  407. result in you getting stuck with maintaining the FAQL instead of me.  8v)
  408.  
  409. I regret that when I started this list I didn't keep careful track of all
  410. the contributors whose knowledge I tapped.  In several instances, the
  411. information herein comes from postings on the net, which I assumed to be
  412. fair use and in the public domain.  It being too late now to make individual
  413. acknowledgements, I offer a blanket THANKS to all who have posted on these
  414. topics to the net.
  415.  
  416. This FAQL is also being posted to news.answers, which is archived
  417. in the periodic posting archive on pit-manager.mit.edu [18.172.1.27],
  418. in the anonymous ftp directory /pub/usenet/news.answers.
  419.  
  420. Copies of this FAQL may be made freely, as long as it is distributed at
  421. no charge and with this disclaimer included.
  422.  
  423. --------------------------------------------------------------------------
  424. END lp_faq
  425. Xref: bloom-picayune.mit.edu alt.locksmithing:2310 news.answers:4507
  426. Path: bloom-picayune.mit.edu!enterpoop.mit.edu!biosci!uwm.edu!linac!pacific.mps.ohio-state.edu!zaphod.mps.ohio-state.edu!cs.utexas.edu!sun-barr!olivea!uunet!world!spike
  427. From: spike@world.std.com (Joe Ilacqua)
  428. Newsgroups: alt.locksmithing,news.answers
  429. Subject: alt.locksmithing answers to Frequently Asked Questions (FAQ)
  430. Summary: This post gives answers to many of the common questions
  431.   asked.  It is strongly recommended that it be read before posting
  432.   to this group.
  433. Message-ID: <locksmith-faq_723942608@world.std.com>
  434. Date: 9 Dec 92 23:10:11 GMT
  435. Expires: Fri, 22 Jan 1993 23:10:08 GMT
  436. Reply-To: alt-locksmithing-faq@world.std.com
  437. Followup-To: alt.locksmithing
  438. Organization: Software Tool & Die
  439. Lines: 494
  440. Approved: news-answers-request@MIT.Edu
  441. Supersedes: <locksmith-faq_719681553@world.std.com>
  442.  
  443. Archive-name: locksmith-faq
  444. Last-modified: 92/10/20
  445. Version: 1.0
  446.  
  447. [This was written and posted a few times early this summer.  We have
  448. final gotten ready for news.answers and it will now be a monthly
  449. posting ->Spike]
  450.  
  451.    This FAQ does not attempt to teach you locksmithing, just to answer
  452. simple questions, give you some hints on getting started, and point
  453. you to sources of information.  Also included is a glossary of common
  454. terms.  The Appendix covers many supply places, books and tapes.
  455.  
  456. Questions Answered:
  457.  
  458. 1.  Where can I get a lock pick set?
  459. 2.  How can I make my own picks and tension wrenches?
  460. 3.  Is it legal to carry lock picks?
  461. 4.  Where can I get the "MIT Guide to Picking Locks"?
  462. 5.  What books can I get on locksmithing?
  463. 6.  What are "pick guns" or "automatic pickers" and do they work?
  464. 7.  How do I open a Kryptonite lock?
  465. 8.  How can I get keys stamped "DO NOT DUPLICATE" duplicated?
  466. 9.  Do Skeleton Keys Exist?
  467. 10. Should I bother with high security ("pick proof") locks for my home?
  468. 11. What should I do after I read a book?
  469. 12. How do I continue learning about locksmithing?
  470. 13. How do Simplex pushbutton locks work?
  471. 14. What is the "shear line".
  472.     Glossary
  473.     Appendix of sources, books, videotapes.
  474.     Credit & Thanks
  475.  
  476. 1.  Where can I get a lock pick set?
  477.  
  478.   Try a locksmith supply house.  Look under "Locksmiths' Equipment &
  479. Supplies" in the Yellow Pages.  Your State or the company may have
  480. requirements, such as having to prove you are a locksmith or showing a
  481. drivers license; call and find out.  Also look for mail order houses
  482. in the Appendix.
  483.  
  484. 2.  How can I make my own picks and tension wrenches?
  485.  
  486.   You can file or grind picks out of spring steel.  It is best to use
  487. spring steel - sources include hacksaw blades, piano (music) wire,
  488. clock springs, streetsweeper bristles (which can be found along the
  489. street after the sweeper has passed), etc.  In a pinch safety pin
  490. steel, or even a bobby pin (much worse) can be used.  When grinding,
  491. keep the steel from getting so hot as to anneal (soften) it.  You may
  492. have to re-harden/re-temper it.  (See a book on knife making,
  493. gunsmithing, or machine shop practice for a discussion on heat
  494. treating steel.)  Some people prefer a rigid tension wrench and just
  495. bend a small screwdriver for this, but many prefer a slightly flexible
  496. wrench and use spring steel.
  497.  
  498. The "MIT Guide to Picking Locks" and the "Eddie The Wire" books (see
  499. below) cover making these tools.  There are many places you can buy
  500. picks and tension wrenches.  See the appendix.
  501.  
  502. 3.  Is it legal to carry lock picks?
  503.  
  504.   This depends on where you are.  In the U.S. the common case seems to
  505. be that it is legal to carry potential "burglar tools" such as keys,
  506. picks, crowbars, jacks, bricks, etc., but use of such tools to commit
  507. a crime is a crime in itself.  Call your local library, district
  508. attorney, or police department to be sure.
  509.  
  510. Places where it *is* illegal to carry lock picks:
  511.  
  512. The District of Columbia.
  513.  
  514. 4.  Where can I get the "MIT Guide to Picking Locks"?
  515.  
  516.   You can't.  The guide must exist in an online form, but no one seems
  517. to have it.  Rumor has it that (one of) the author(s) is aware of this
  518. group and is unwilling to post the guide.
  519.  
  520.   The guide is copyrighted, so scanning it in and posting would, in
  521. addition to violating the author's wishes, be illegal.
  522.  
  523. 5. What books can I get on locksmithing?
  524.  
  525. An excellent encyclopedic reference (based on reading the 1st edition
  526. - but people have said that the 2nd and 3rd editions carry on the
  527. coverage)
  528.  
  529. The Complete Book of Locks & Locksmithing, 3rd Ed.
  530. C.A. Roper and Bill Phillips   TAB Books
  531. ISBN 0-8306-3522-X (Paper) 0-8306-?522-1 (Hard)
  532. $18.95 (Paper) $26.95 (Hard)
  533.  
  534. also many people think highly of:
  535.  
  536. Eddie The Wire: How to Make Your Own Professional Lock Tools
  537. "Eddie The Wire"      Loompanics Unlimited
  538. ISBN 0-685-39143-4
  539. 4 Volumes $20
  540.  
  541.   Your local book store should be able to order these for you.  You
  542. can find other titles under "Locksmithing" in the Books In Print
  543. Subject Index, which any decent bookstore should have.  Also see the
  544. Appendix.
  545.  
  546. 6. What are "pick guns" or "automatic pickers" and do they work?
  547.  
  548.   A "pick gun" is a manual or powered device that uses a vibrating
  549. pin to try to bounce the pin tumblers so there are spaces at the shear
  550. line so the the plug can rotate.  They are not a panacea, aren't always
  551. effective, and the net seems to feel that these are no substitute
  552. for a little skill with a pick and learning how locks work.
  553.  
  554. 7. How do I open a Kryptonite lock?
  555.  
  556.     Easiest: If you registered your lock, call or write Kryptonite
  557.     for a new key.  Or call a local locksmith, they should be able to
  558.     pick and re-key the lock for you.
  559.  
  560.     Easy:  Get a car jack and jack it apart.  Careful, otherwise it is
  561.     very possible that you'll damage the bike.
  562.  
  563.     Easy:  Use a cut-off wheel in a Dremel tool to cut the lock at
  564.     the hole in the shackle (where there is the least to cut.)
  565.  
  566.     Harder: If it doesn't have the newer brass jacket, peel back
  567.     the plastic coating on the key end, drill out the pin that
  568.     holds in the cylinder, remove the cylinder, open.
  569.  
  570.     Hardest: Chill the metal of the "U" with liquid Nitrogen or
  571.     Freon, smash with hammer.  While this is a "well known" method,
  572.     it may be an urban legend.
  573.  
  574. 8.  How can I get keys stamped "DO NOT DUPLICATE" duplicated?
  575.  
  576.   Some locksmiths will take the Nike approach and "Just Do It".
  577. Some will even stamp "DO NOT DUPLICATE" on the copy for you.
  578. If that doesn't work, label the key by sticking some tape on
  579. the "DO NOT DUPLICATE" stamp and try again.
  580.  
  581. 9.  Do Skeleton Keys Exists?
  582.  
  583.   "Skeleton Keys" are keys ground to avoid the wards in warded locks.
  584. There is no analog with modern pin tumbler locks.  Master keys may
  585. open a large set of locks, but this is designed in when the locks are
  586. installed.
  587.  
  588. 10. Should I bother with high security ("pick proof") locks for my home?
  589.